package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备购买对象 equipment_purchase
 *
 * @author ruoyi
 * @date 2024-05-08
 */
public class EquipmentPurchase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购买ID */
    private Long purchaseId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmnetName;

    /** 购买日期 */
    @Excel(name = "购买日期")
    private String purchaseDate;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Long purchaseQuantity;

    /** 购买价格 */
    @Excel(name = "购买价格")
    private Float purchasePrice;

    /** 购买负责人 */
    @Excel(name = "购买负责人")
    private String purchaseWorker;

    /** 支付处理人 */
    @Excel(name = "支付处理人")
    private String payWorker;

    public void setPurchaseId(Long purchaseId)
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId()
    {
        return purchaseId;
    }
    public void setEquipmnetName(String equipmnetName)
    {
        this.equipmnetName = equipmnetName;
    }

    public String getEquipmnetName()
    {
        return equipmnetName;
    }
    public void setPurchaseDate(String purchaseDate)
    {
        this.purchaseDate = purchaseDate;
    }

    public String getPurchaseDate()
    {
        return purchaseDate;
    }
    public void setPurchaseQuantity(Long purchaseQuantity)
    {
        this.purchaseQuantity = purchaseQuantity;
    }

    public Long getPurchaseQuantity()
    {
        return purchaseQuantity;
    }
    public void setPurchasePrice(Float purchasePrice)
    {
        this.purchasePrice = purchasePrice;
    }

    public Float getPurchasePrice()
    {
        return purchasePrice;
    }
    public void setPurchaseWorker(String purchaseWorker)
    {
        this.purchaseWorker = purchaseWorker;
    }

    public String getPurchaseWorker()
    {
        return purchaseWorker;
    }
    public void setPayWorker(String payWorker)
    {
        this.payWorker = payWorker;
    }

    public String getPayWorker()
    {
        return payWorker;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchaseId", getPurchaseId())
            .append("equipmnetName", getEquipmnetName())
            .append("purchaseDate", getPurchaseDate())
            .append("purchaseQuantity", getPurchaseQuantity())
            .append("purchasePrice", getPurchasePrice())
            .append("purchaseWorker", getPurchaseWorker())
            .append("payWorker", getPayWorker())
            .toString();
    }
}
